﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace MultiWallpaperManager
{
	public class MyRectangle
	{
		public int left, top, right, bottom;

		public MyRectangle()
		{
			left = top = right = bottom = 0;
		}

		public MyRectangle(Rectangle rect)
		{
			left = rect.Left;
			top = rect.Top;
			right = rect.Right;
			bottom = rect.Bottom;
		}

		public int Width
		{
			get { return right - left; }
		}

		public int Height
		{
			get { return bottom - top; }
		}

	}
}
